package com.yonyou.domain;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import io.swagger.annotations.ApiModel;

/**
 * 部门集合
 * 
 * @author GavinLee
 *
 */
@Document(collection = "department")
@ApiModel
public class Department {

	@Id
	private String id;
	private String departmentId;//部门id
	private String departmentName;// 部门名称
	private String tenId;// 租户ID
	private String mId;//会议ID
	private int dr;//删除标记
	private Date ts;//时间戳

	public String getmId() {
		return mId;
	}

	public void setmId(String mId) {
		this.mId = mId;
	}

	public int getDr() {
		return dr;
	}

	public void setDr(int dr) {
		this.dr = dr;
	}

	public Date getTs() {
		return ts;
	}

	public void setTs(Date ts) {
		this.ts = ts;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getTenId() {
		return tenId;
	}

	public void setTenId(String tenId) {
		this.tenId = tenId;
	}
}
